<template>
    <div>
      <details-list :list="detailslist"></details-list>
    </div>
</template>

<script type="text/ecmascript-6">
  import DetailsList from "../components/starlist/DetailsList.vue";
  import GoodsApi from "../apis/bshopapis";
    export default {
      components:{
        DetailsList
      },
      created:function(){
        this.initdetails()
      },
      methods:{
        initdetails:function(){
          GoodsApi.getDetailsList((data)=>{
            this.detailslist=data;
          })
        }
      },
      data(){
        return{
          detailslist:[]
        }
      }
    }
</script>

<type>
